package com.bank.chat.service;

import com.alibaba.fastjson.JSONObject;
import com.bank.model.vo.chat.UserListVo;
import com.bank.model.vo.user.UserBasicInfoVo;
import io.netty.channel.ChannelHandlerContext;

import java.util.List;

public interface ChatService {
    public void register(JSONObject param, ChannelHandlerContext ctx);

    public void singleSend(JSONObject param, ChannelHandlerContext ctx);

    public void groupSend(JSONObject param, ChannelHandlerContext ctx);

    public void FileMsgSingleSend(JSONObject param, ChannelHandlerContext ctx);

    public void FileMsgGroupSend(JSONObject param, ChannelHandlerContext ctx);

    public void remove(ChannelHandlerContext ctx);

    public void typeError(ChannelHandlerContext ctx);

    public List<UserListVo> getUserListVos();
}
